#!/bin/bash
echo "[*] Configuring qsign..."

if [ -n "$KEY" ]; then
    sed -i "s/Eden/$KEY/g" "/txlib/config.json"
fi

echo "[*] Starting qsign..."

/app/bin/http --basePath=/txlib